<template>
  <div class="myDialog">
    <!-- 弹窗组件 -->
    <el-dialog
      :visible.sync="dialogFormVisible"
      :before-close="handleClose"
      :close-on-click-modal="false"
      title="接受到了兄弟组件传的值"
      width="40%">
      {{ form.id }}
    </el-dialog>
  </div>
</template>
<script>
export default {
  name: 'IssueDialog',
  data() {
    return {
      dialogFormVisible: false,
      form: {}
    }
  },
  methods: {
    handleOpen(val = {}) {
      this.dialogFormVisible = true
    },
    handleClose() {
      this.dialogFormVisible = false
    }
  }
}
</script>
<style lang="scss" scoped>
</style>
